package cn.stylefeng.guns.modular.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 运费表
 * </p>
 *
 * @author zhou
 * @since 2019-08-05
 */
@TableName("tb_freight")
public class TbFreight implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 区域
     */
    @TableField("area")
    private String area;

    /**
     * 目的地
     */
    @TableField("destination")
    private String destination;

    /**
     * 重量价格id
     */
    @TableField("weight_price_id")
    private String weightPriceId;

    /**
     * 达到时间
     */
    @TableField("arrival_time")
    private String arrivalTime;

    @TableField("type")
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getWeightPriceId() {
        return weightPriceId;
    }

    public void setWeightPriceId(String weightPriceId) {
        this.weightPriceId = weightPriceId;
    }

    public String getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(String arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    @Override
    public String toString() {
        return "TbFreight{" +
        "id=" + id +
        ", area=" + area +
        ", destination=" + destination +
        ", weightPriceId=" + weightPriceId +
        ", arrivalTime=" + arrivalTime +
        "}";
    }
}
